package com.zjhn.ds.domain.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.erp
 * @Author: sxt
 * @CreateTime: 2023-09-04  11:03
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mes.mes_bookjob")
public class MesBookjob {

    @TableId
    @TableField("Id")
    private String id;

    @TableField("PBoxId")
    private String pBoxId;

    @TableField("PTaskId")
    private String pTaskId;

    @TableField("pDetailId")
    private String PDetailId;

    @TableField("OperatorName")
    private String operatorName;

    @TableField("OperatorId")
    private String operatorId;

    @TableField("DepartmentGroupId")
    private String departmentGroupId;

    @TableField("BookJobQty")
    private BigDecimal bookJobQty;

    @TableField("UngradedQty")
    private BigDecimal ungradedQty;

    @TableField("StepId")
    private String stepId;

    @TableField("DayTime")
    private Date dayTime;

    @TableField("LastStep")
    private Integer lastStep;

    @TableField("Wages")
    private BigDecimal wages;

    @TableField("Memo")
    private String memo;

    @TableField("ScaleToCell")
    private Integer scaleToCell;

    @TableField("IsRework")
    private Integer isRework;

    @TableField("ReWorkId")
    private String reWorkId;

    @TableField("ReWorkDetailId")
    private String reWorkDetailId;

    @TableField("QcStepCheckOutUnPassQty")
    private BigDecimal qcStepCheckOutUnPassQty;

    @TableField("CreateTime")
    private Date createTime;

    @TableField("DataStatus")
    private Integer dataStatus;

    @TableField("IsDeleted")
    private Integer isDeleted;

}
